package org.moonlight.jvm.instructions.constants;

import org.moonlight.jvm.instructions.base.NoOperandsInstruction;
import org.moonlight.jvm.rtda.exclusive.Frame;

/**
 * LCONST_0: 把 long 型 0 推入操作数栈顶
 *
 * @author Moonlight
 * @createTime 2023/8/16 14:44
 **/
public class LConst0 extends NoOperandsInstruction {
    @Override
    public void execute(Frame frame) {
        frame.getOperandStack().pushLong(0);
    }
}
